package com.haoze.nurseapp.model;

import com.haoze.common.model.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

/**
 * @author lufq
 * @date 2020/9/21
 */
@Table(name = "IDR.DRUG_APPLY_DETAIL")
public class DrugApplyDetailEntity extends BaseEntity {
    @Id
    @Column(name = "APPLY_DETAIL_ID")
    private String applyDetailId;

    @Column(name = "APPLY_ID")
    private String applyId;

    @Column(name = "HOSPITAL_ID")
    private String hospitalId;

    @Column(name = "INPAT_NUM")
    private String inpatNum;

    @Column(name = "WARD_DEPT_ID")
    private String wardDeptId;

    @Column(name = "INPATORDERDATA_ID")
    private String inpatorderdataId;

    @Column(name = "PRESC_NUM")
    private String prescNum;

    @Column(name="RECEIVE_FREQ_TIME")
    private String receiveFreqTime;

    @Column(name = "BED_NO")
    private String bedNo;

    @Column(name = "APPLY_STATUS")
    private String applyStatus;

    @Column(name = "PRESCDRUG_ID")
    private String prescdrugId;

    @Column(name = "APPLY_TIME")
    private Timestamp applyTime;

    @Column(name = "PERFORM_RESULT")
    private String performResult;

    public String getApplyDetailId() {
        return applyDetailId;
    }

    public void setApplyDetailId(String applyDetailId) {
        this.applyDetailId = applyDetailId;
    }

    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(String applyId) {
        this.applyId = applyId;
    }

    @Override
    public String getHospitalId() {
        return hospitalId;
    }

    @Override
    public void setHospitalId(String hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getInpatNum() {
        return inpatNum;
    }

    public void setInpatNum(String inpatNum) {
        this.inpatNum = inpatNum;
    }

    public String getWardDeptId() {
        return wardDeptId;
    }

    public void setWardDeptId(String wardDeptId) {
        this.wardDeptId = wardDeptId;
    }

    public String getInpatorderdataId() {
        return inpatorderdataId;
    }

    public void setInpatorderdataId(String inpatorderdataId) {
        this.inpatorderdataId = inpatorderdataId;
    }

    public String getPrescNum() {
        return prescNum;
    }

    public void setPrescNum(String prescNum) {
        this.prescNum = prescNum;
    }


    public String getReceiveFreqTime() {
        return receiveFreqTime;
    }

    public void setReceiveFreqTime(String receiveFreqTime) {
        this.receiveFreqTime = receiveFreqTime;
    }

    public String getBedNo() {
        return bedNo;
    }

    public void setBedNo(String bedNo) {
        this.bedNo = bedNo;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getPrescdrugId() {
        return prescdrugId;
    }

    public void setPrescdrugId(String prescdrugId) {
        this.prescdrugId = prescdrugId;
    }

    public Timestamp getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Timestamp applyTime) {
        this.applyTime = applyTime;
    }

    public String getPerformResult() {
        return performResult;
    }

    public void setPerformResult(String performResult) {
        this.performResult = performResult;
    }

    public DrugApplyDetailEntity(){

    }
}
